# .PHONY: main clean
simple: main.o foo.o
	@echo "Linking..."
	gcc -o simple main.o foo.o
main.o: main.c
	@echo "Compiling main.c..."
	gcc -o main.o -c main.c
foo.o: foo.c
	@echo "Compiling foo.c..."
	gcc -o foo.o -c foo.c
clean:
	@echo "Cleaning up..."
	rm simple main.o foo.o